Limiting Attachment Size
You can limit the size and number of any attachments that users can attach to a business object record. You set the attachment limit when you design the form from the attachment form control.
1.From the Configuration Console, click Build > Business Objects to open the Business Objects workspace.
2.Open the business object containing the form.
3.Click the Forms tab.
4.Open the form. See Using Forms.
5.On the left side, expand Other and highlight Attachments.
6. Drag the Attachments control from the list onto the form.
7.On the right side, highlight the Attachments control.
8.On the bottom left, click the Control Properties tab. This pane lists the properties that you can define. See About the "Other" Form Controls.
9.To set limits, define the following properties:
Property | Description |
---|---|
Max files | The maximum number of files allowed to be attached to a record. For example, to have no more than ten files be attached, enter 10. Enter at least 1 to enable file upload. |
Max files per upload | The maximum number of files allowed to be uploaded at one time. For example, to allow only six files to be uploaded during a single upload, enter 6. Enter at least 1 to enable file upload. |
Max single file size | The maximum file size allowed to be attached. For example, to allow files of 2000 MB, enter 2000 in this field and MB in the Size in field. |
Max summary files size | The maximum file size allowed for the summary file. For example, to allow a summary file of 1 MB, enter 1 in this field and MB in the Size in field. |
10.Click Save.
Users must log out and log back in to see the changes.